//Lendo de um arquivo

package Testes;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

public class JavaIO_2 {

	public static void main(String[] args) throws IOException {
		
		InputStream is = new FileInputStream("arquivo.txt");
		BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("arquivo.txt")));
		
		//Primeira linha
		String linha = br.readLine();
	}
}
